package com.kaili.basic.pojo.dto;

import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;
import com.baomidou.mybatisplus.enums.IdType;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.kaili.basic.pojo.entity.BaseStoreDetailEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;

@Data
@ApiModel(description = "库存明细")
public class BaseOutStoreDetailAddDTO extends BaseStoreDetailEntity{

  @ApiModelProperty("订单号")
  private String orderNo;

  @ApiModelProperty("出库申请产品id")
  private Long applyProductId;

  @ApiModelProperty("重量")
  private Double weight;

  @ApiModelProperty("体积")
  private Double volume;

  @ApiModelProperty("数量")
  private Long amount;

  @ApiModelProperty("托盘数")
  private Long trays=0L;

  @ApiModelProperty("对应库存id")
  private Long storeStockId;

  //  @ApiModelProperty("产品id")
//  private Long productId;

//  @ApiModelProperty("仓库id")
//  private Long storeId;
//
//  @ApiModelProperty("库位id")
//  private Long locationId;



//  @ApiModelProperty("批次")
//  private String batch;
//
//  @ApiModelProperty("过期时间")
//  @JsonFormat(pattern ="yyyy-MM-dd HH:mm:ss" )
//  private Date deadTime;
}
